package com.shiningstars.parse;

import com.parse.Parse;
import com.parse.ParseInstallation;
import com.parse.PushService;
import com.shiningstars.activity.SplashPageActivity;
import com.shiningstars.general.Config;

public class Application extends android.app.Application implements Config {

	public Application() {
	}

	@Override
	public void onCreate() {
		super.onCreate();

		Parse.initialize(this, APPLICATION_ID, CLIENT_KEY);

		PushService.setDefaultPushCallback(this, SplashPageActivity.class);
		ParseInstallation.getCurrentInstallation().saveInBackground();
	}
}
